package com.omar.labs.tamtamy;

import java.util.ArrayList;

public class ContentMessage extends Content{
	
	protected String contentType;
	protected String contentTypeCategory;
	protected String size;
	protected boolean thumbnailPresent;
	public ContentMessage() {
		super();
		this.contentType = null;
		this.contentTypeCategory = null;
		this.size = null;
		this.thumbnailPresent = false;
	}

	public ContentMessage(long id, String title, String description,
			String permission, String discussionPermission,
			String creationDate, String updateDate, String userID,
			String favouriteCounter, String highlight, String numberOfComments,
			String rateEnabled, ArrayList<String> tags, String rate,
			String ratesNumber, String languageCode,
			ArrayList<String> commentList, String views, String downloads,
			String network, String contentType, String contentTypeCategory,
			String size, boolean thumbnailPresent) {
		super(id, title, description, permission, discussionPermission, creationDate,
				updateDate, userID, favouriteCounter, highlight, numberOfComments,
				rateEnabled, tags, rate, ratesNumber, languageCode, commentList, views,
				downloads, network);
		this.contentType = contentType;
		this.contentTypeCategory = contentTypeCategory;
		this.description = description;
		this.size = size;
		this.thumbnailPresent = thumbnailPresent;
	}

	public String getContentType() {
		return contentType;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

	public String getContentTypeCategory() {
		return contentTypeCategory;
	}

	public void setContentTypeCategory(String contentTypeCategory) {
		this.contentTypeCategory = contentTypeCategory;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public boolean isThumbnailPresent() {
		return thumbnailPresent;
	}

	public void setThumbnailPresent(boolean thumbnailPresent) {
		this.thumbnailPresent = thumbnailPresent;
	} 		

	public void print(){
		super.print();
		System.out.println("contentType: " + this.contentType);
		System.out.println("contentTypeCategory: " + this.contentTypeCategory);
		System.out.println("size: " + this.size);
		System.out.println("thumbnailPresent: " + this.thumbnailPresent);
	}
}
